package agency_terminal.data_types;

import java.io.Serializable;

import agency_terminal.enums.OperationTypes;


public class OperationRequest implements Serializable{
	private static final long serialVersionUID = 1L;
	private OperationTypes type;
	private Data data;
	private String ipTerminal;
		
	public OperationRequest(OperationTypes type, Data data, String ipTerminal) {
		super();
		this.type = type;
		this.data = data;
		this.ipTerminal = ipTerminal;
	}	
	public OperationTypes getType() {
		return type;
	}
	public void setType(OperationTypes type) {
		this.type = type;
	}
	public Data getData() {
		return data;
	}
	public void setData(Data data) {
		this.data = data;
	}
	public String getIpTerminal() {
		return ipTerminal;
	}
	public void setIpTerminal(String ipTerminal) {
		this.ipTerminal = ipTerminal;
	}	
	
}
